home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C / Applications / POV-Ray 3.0.2 / src / MacSource / zsupport.c < prev   
Encoding:
C/C++ Source or Header  |  1996-07-14  |  1.8 KB  |  46 lines  |  [TEXT/CWIE]

  1. /*==============================================================================
  2. Project:    POV
  3.  
  4. File:    zsupport.c
  5.  
  6. Description:
  7.     Mac support routines for ZLib/PNG
  8. ------------------------------------------------------------------------------
  9. Author:
  10.     Eduard [esp] Schwan
  11. ------------------------------------------------------------------------------
  12.     from Persistence of Vision(tm) Ray Tracer
  13.     Copyright 1996 Persistence of Vision Team
  14. ------------------------------------------------------------------------------
  15.     NOTICE: This source code file is provided so that users may experiment
  16.     with enhancements to POV-Ray and to port the software to platforms other 
  17.     than those supported by the POV-Ray Team.  There are strict rules under
  18.     which you are permitted to use this file.  The rules are in the file
  19.     named POVLEGAL.DOC which should be distributed with this file. If 
  20.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  21.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  22.     Forum.  The latest version of POV-Ray may be found there as well.
  23.  
  24.     This program is based on the popular DKB raytracer version 2.12.
  25.     DKBTrace was originally written by David K. Buck.
  26.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  27. ------------------------------------------------------------------------------
  28. Change History:
  29. ==============================================================================*/
  30.  
  31. #include "memalloc.h"
  32. #include "zutil.h"
  33.  
  34.  
  35. // ------------------------------------------------------------------------------
  36. voidpf zcalloc(voidpf opaque, unsigned items, unsigned size)
  37. {
  38.     return Mac_calloc(items, size);
  39. }
  40.  
  41. // ------------------------------------------------------------------------------
  42. void   zcfree(voidpf opaque, voidpf ptr)
  43. {
  44.     Mac_free(ptr);
  45. }
  46.